package com.yxuan.springboot.model;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * 
 * @author zchao
 *    UserLogin实体类
 * @date 2023-05-09 11:17:04
 */
@Data
@ApiModel(description = "用户登录表")
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler" })
public class UserLogin implements Serializable{

	  private static final long serialVersionUID = 1L;
	
	  @ApiModelProperty(value = "")
	  private Integer id;
	  @ApiModelProperty(value = "电话号码")
	  private String phoneNumber;
	  @ApiModelProperty(value = "手机验证码")
	  private String verificationCode;
	  @ApiModelProperty(value = "登录令牌")
	  private String token;
	  @ApiModelProperty(value = "黑名单（正常：0 异常：1）")
	  private String blacklist;
	  @ApiModelProperty(value = "最后一次登录ip")
	  private String ip;
      //创建时间
      @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss" ,timezone = "GMT+8")
	  private Date createTime;
      //最后登录时间
      @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss" ,timezone = "GMT+8")
	  private Date endTime;


}
